yaojenkuo.io/modern-ds
一直都在
How Target Figured Out A Teen Girl Was Pregnant Before Her Father Did
Forbes, FEB 16, 2012
Get dirty with data, technology and math, nothing should be too practical enough, too theoretical enough, or too mathematical enough for you to handle.
Quoted from Ajai Sharma
請放心且大膽地選擇一個開始你的資料科學旅程,她們都是在資料科學應用上我們能大力仰賴的程式語言。
| 使用者特徵 | 建議 |
|---|---|
| 我沒有寫過程式 | R 語言 |
| 我喜歡函數型編程 | R 語言 |
| 我喜歡物件導向編程 | Python |
| 我想要作統計分析為主 | R 語言 |
| 我想要作資料視覺化為主 | R 語言 |
| 我想要建置深度學習模型為主 | Python |
| 我想要在網站後端建置機器學習系統為主 | Python |
I believe the world could be a better place if more designers learned how to code and more developers learned how to design. They are the ones who will experiment & play. They are the ones who will take risks. They are the ones who will build & launch their ideas.
\[S(x) = \frac{1}{1 + e^{-x}}\]
def get_movie_info(movie_title):
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time
driver = webdriver.Chrome(executable_path="/Users/kuoyaojen/Downloads/chromedriver")
driver.get("http://www.imdb.com/")
search_elem = driver.find_element_by_css_selector("#navbar-query")
search_elem.send_keys(movie_title)
time.sleep(3)
search_button_elem = driver.find_element_by_css_selector("#navbar-submit-button .navbarSprite")
search_button_elem.click()
time.sleep(3)
first_result_elem = driver.find_element_by_css_selector("#findSubHeader+ .findSection .odd:nth-child(1) .result_text a")
first_result_elem.click()
time.sleep(3)
rating_elem = driver.find_element_by_css_selector("strong span")
rating = float(rating_elem.text)
cast_elem = driver.find_elements_by_css_selector(".itemprop .itemprop")
cast_list = [cast.text for cast in cast_elem]
driver.close()
return rating, cast_listdef get_movies_info(movie_titles):
movies_info = []
for movie_title in movie_titles:
movie_info = get_movie_info(movie_title)
movies_info.append(movie_info)
return movies_infohttp://hoopshype.com/salaries/players/
## players salaries
## 1 Stephen Curry 34682550
## 2 LeBron James 33285709
## 3 Paul Millsap 30769231
## 4 Gordon Hayward 29727900
## 5 Blake Griffin 29512900
## 6 Kyle Lowry 28703704
毋免驚,咱寬寬仔行。
Docendo discimus